wayland: don't leave root window values uninitialised
authorRob Bradford <rob@linux.intel.com>
Tue, 9 Apr 2013 10:49:42 +0000 (11:49 +0100)
committerRob Bradford <rob@linux.intel.com>
Tue, 9 Apr 2013 11:52:16 +0000 (12:52 +0100)
commitb37d83e98825af0eb3b5e644701b36a24dfd6212
tree9202388d7140b7ad2e91ce5e5c3a88a284cfadfa
parent7ffcd85d13ce954d66396c88243c6b2a9c31ffbc
wayland: don't leave root window values uninitialised

Under Wayland we don't know the absolute position of the device but there are
some API calls that expect to get an root window position. Previously we were
not assigning any value to these out parameters potentially leaving the values
undefined.

This change returns the current surface relative position of the device.
gdk/wayland/gdkdevice-wayland.c